package com.hao.tool.util.component.exception;

import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.stereotype.Controller;

/**
 * @author liangjianfeng
 * @version 2017/8/29
 * @since JDK 7.0+
 */
@Controller
public class GlobalErrorController implements ErrorController {

    public String getErrorPath() {
        return "/error";
    }

}
